<%--
  Created by IntelliJ IDEA.
  User: oyz
  Date: 2021/4/18
  Time: 19:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>登录</title>
  </head>
  <body style="padding: 200px">
    <div>
        <%if (request.getAttribute("msg")!=null){%>
        <span color="red"><%=request.getAttribute("msg")%></span>
        <%}%>
    </div>
    <form action="login" method="post">
      用户名:<input type="text" name="username"><br/>
      密  码:<input type="password" name="password"><br/>
      <input type="submit" value="登录">
    </form>
  </body>
</html>
